package com.csi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 评价表
 */
@Data
public class UserAssess {
    private long id; //评价表
    private String accessInfo; //评价信息
    private String accessImage; //评价图片
    private BigDecimal score; //评分
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Timestamp accessDate; //评价日期
    private long userId;//用户id
    private long dueId;//预定id

}
